{% extends 'base.html' %} {% block title %}{{ staff.user.get_full_name|default:staff.user.username }} - Staff Details{% endblock %} {% block content %}
{% if staff.photo %} {{ staff.user.get_full_name }} {% else %}
{% endif %}

{{ staff.user.get_full_name|default:staff.user.username }}

{{ staff.position|default:"Staff Member" }}

{% if staff.is_active %} Active {% else %} Inactive {% endif %}
Contact Information

{{ staff.user.email }}

{% if staff.phone_number %}

{{ staff.phone_number }}

{% endif %} {% if staff.bio %}
Bio

{{ staff.bio }}

{% endif %}
Services
{% if services %}
    {% for service in services %}
  • {{ service.name }} {{ service.duration|time:"H:i" }}
  • {% endfor %}
{% else %}

No services assigned

{% endif %}
Upcoming Appointments
New Appointment
{% if upcoming_appointments %}
{% for appointment in upcoming_appointments %} {% endfor %}
Date & Time Client Service Status Actions
{{ appointment.start_time|date:"M d, Y H:i" }} {{ appointment.client.get_full_name|default:appointment.client.username }} {{ appointment.service.name }} {{ appointment.get_status_display }}
{% else %}

No upcoming appointments

{% endif %}
Recent Completed Appointments
{% if recent_appointments %}
{% for appointment in recent_appointments %} {% endfor %}
Date Client Service Duration
{{ appointment.start_time|date:"M d, Y" }} {{ appointment.client.get_full_name|default:appointment.client.username }} {{ appointment.service.name }} {{ appointment.service.duration|time:"H:i" }}
{% else %}

No recent completed appointments

{% endif %}
Back to Staff List
{% endblock %} {% block extra_css %} {% endblock %}